
public class TableRow {
    private String id;
    private int value;
    private TableRow tail;

    public TableRow(String key, int v, TableRow t){
        id = key;
        value = v;
        tail = t;
    }
    public String getId(){
        return id;
    }
    public int getValue(){
        return value;
    }
    public TableRow getTail(){
        return tail;
    }
    public void setId(String key){
        id = key;
    }
    public void setValue(int v){
        value = v;
    }
    public void setTail(TableRow t){
        tail = t;
    }
}
